package com.hundsun.cprs.yyt.gateway.aop;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface PlatformRoomsPerm {
    
    /**
     * 用户ID属性名
     * @return
     */
    String userField();
    
    /**
     * 平台房间ID属性名(与商品ID二选一)
     * @return
     */
    String roomField() default "";
    
    /**
     * 商品ID属性名(与平台房间ID二选一)
     * @return
     */
    String goodsField() default "";
}
